package com.zhj.edu.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "framework.config")
@Data
public class FrameworkProperties {
    //默认不使用
    private Boolean swagger = false;

    //默认不使用
    private Boolean mp = false;

    //默认不使用redis
    private Boolean redis = false;

    public Boolean getRedis() {
        return redis;
    }

    public void setRedis(Boolean redis) {
        this.redis = redis;
    }

    public Boolean getMp() {
        return mp;
    }

    public void setMp(Boolean mp) {
        this.mp = mp;
    }

    public Boolean getSwagger() {
        return swagger;
    }

    public void setSwagger(Boolean swagger) {
        this.swagger = swagger;
    }
}
